package com.example.demo.designPatternsTest;

/**
 * @author lilinchun
 * @date 2023/5/22 0022 17:47

 * 工厂类
 **/
public class ProductFactory {

    public Car getCar() {
        return new Car();
    }

    public Plane getPlane() {
        return new Plane();
    }
}